Higher-Order Causal Stream Functions in Sig from First Principles
نویسندگان
چکیده
The Sig programming language is a total functional, clocked synchronous data-flow language. Its core has been designed to admit concise coalgebraic semantics. Universal coalgebra is an expressive theoretical framework for behavioral semantics, but traditionally phrased in abstract categorical language, and generally considered inaccessible. In the present paper, we rephrase the coalgebraic concepts relevant for the Sig language semantics in basic mathematical notation. We demonstrate how the language features characteristic of its paradigms, namely sequential and parallel composition for applicative style, delay for data flow, and apply for higher-order functional programming, are shaped naturally by the semantic structure. Thus the present paper serves two purposes, as a gentle, self-contained and applied introduction to coalgebraic semantics, and as an explication of the Sig core language denotational and operational design.
منابع مشابه
Connection of scattering principles: a visual and mathematical tour
Inverse scattering, Green’s function reconstruction, focusing, imaging and the optical theorem are subjects usually studied as separate problems in different research areas. We show a physical connection between the principles because the equations that rule these scattering principles have a similar functional form. We first lead the reader through a visual explanation of the relationship betw...
متن کاملFirst Principles Derivation of Displacement and Stress Function for Three-Dimensional Elastostatic Problems, and Application to the Flexural Analysis of Thick Circular Plates
In this study, stress and displacement functions of the three-dimensional theory of elasticity for homogeneous isotropic bodies are derived from first principles from the differential equations of equilibrium, the generalized stress – strain laws and the geometric relations of strain and displacement. It is found that the stress and displacement functions must be biharmonic functions. The deriv...
متن کاملStream Differential Equations: concrete formats for coinductive definitions
In this article we give an accessible introduction to stream differential equations, ie., equations that take the shape of differential equations from analysis and that are used to define infinite streams. Furthermore we discuss a syntactic format for stream differential equations that ensures that any system of equations that fits into the format has a unique solution. It turns out that the st...
متن کاملConnection of scattering principles: focusing the wavefield without source or receiver
Inverse scattering, seismic interferometry, and focusing are subjects usually studied as independent problems in different research areas. We speculate that a physical connection exists between them because the equations that rule these scattering principles have a similar functional form. With a visual explanation of the relationship between these principles, we describe the importance of the ...
متن کاملPerturbation theory for critical points of causal variational principles
The perturbation theory for critical points of causal variational principles is developed. We first analyze the class of perturbations obtained by multiplying the universal measure by a weight function and taking the push-forward under a diffeomorphism. Then the constructions are extended to convex combinations of such measures, leading to perturbation expansions for the mean and the fluctuatio...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2016